package study;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.annotation.Bean;
import study.servlet.MyServlet1;

/**
 * Created by lazy on 17-5-17.
 */
@SpringBootApplication
@ServletComponentScan//这个就是扫描相应的Servlet包;
public class AppServelet2 {

    public static void main(String[] args) {
        SpringApplication.run(AppServelet2.class, args);
    }
}
